#include<iostream>
#include<cmath>

using namespace std;

extern "C" {
	void test_print()
    {
        cout << "load finish!" <<endl;
    }

	void hehe(double* d, double* a,double* b,int rows,int cols){
        double result;
        int row,col;
        for(row = 0;row < rows; row++)
        {
            result = 0;
            for(col = 0;col < cols; col++)
            {
                int ind = row * cols + col;
                cout << a[col] << "|" << b[ind] <<endl;
                result += (a[col] - b[ind]) * (a[col] - b[ind]);
            }
            d[row] = sqrt(result);
        }
    }
}
